package com.aplicacaoexemploweb.dao;

import com.aplicacaoexemploweb.exceptions.AlunoException;
import com.aplicacaoexemploweb.pojo.Aluno;

/**
 *
 * @author Pc
 */
public interface AlunoDao {
    
    Aluno add(Aluno aluno) throws AlunoException;

    Aluno update(Aluno aluno) throws AlunoException;

    Aluno remove(Aluno aluno) throws AlunoException;

    Aluno buscaPorId(Long id) throws AlunoException;
    
    Aluno buscaPorEmail(String email) throws AlunoException;
    
}
